UserCSS - 修改程式區塊的檔案名稱顯示
code:style.css
/*
.line span.code-block .code-block-start,.table-block .table-block-start {
font-family: "UD デジタル 教科書体 NK-B", "MotoyaLMaru W3 mono", "Kosugi Maru", "Roboto",Helvetica,Arial,"Hiragino Sans",sans-serif;
}
*/
.line span.code-block .code-block-start a,
.table-block .table-block-start a {
text-decoration: unset;
}
.line span.code-block .code-block-start,
.table-block .table-block-start {
border: unset;
margin-left: 3px;
box-shadow: 2px 2px 2px gray;
}
.line span.code-block .code-block-start .tool-buttons .fa-copy::before,
.table-block .table-block-start a::after {
}
.line span.code-block .code-block-start spantitle="css" a { }
}
.line span.code-block .code-block-start spantitle="html" a { }
.line span.code-block .code-block-start spantitle="tw" a { }
.line span.code-block .code-block-start spantitle="txt" a, .line span.code-block .code-block-start spantitle="qte" a { }
.table-block .table-block-start a {
}
.line span.code-block .code-block-start span a::before,
.table-block .table-block-start a::before,
.table-block .table-block-start a::after{
font-family: 'Font Awesome 5 Free';
font-weight: 900;
padding-right: 0.2rem;
display: inline-block;
top: 0.9rem;
}
content: '\f121';
}
.line span.code-block .code-block-start spantitle="txt" a::before { content: '\f5ad';
}
.line span.code-block .code-block-start spantitle="qte" a::before { content: '\f10d';
}
.line span.code-block .code-block-start spantitle="tw" a::before { content: '\f4ba';
}
.table-block .table-block-start a::before {
content: '\f0ce';
font-size: 12px;
}
.table-block .table-block-start span:last-child:after {
content: '.csv'; /* コードブロックと見た目を揃えてわかりやすくするため */
}
.table-block .table-block-start a::after {
content: '\f56d';
margin-left: 0.3em;
margin-right: -2px;
font-size: 12px;
}